package com.bckj.fastboot.upms.biz.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.upms.api.entity.SysRole;
import com.bckj.fastboot.upms.api.vo.SysRoleVO;
import com.bckj.fastboot.upms.api.dto.SysRoleRequest;

import org.mapstruct.Mapper;

/**
 * 角色表(SysRole)数据转换
 *
 * @author wfc
 * @since 2023-09-14 10:12:51
 */
@Mapper(config = MapStructConfig.class)
public interface SysRoleConvert {

    SysRole request2Bean(SysRoleRequest request);
    
    SysRoleVO bean2VO(SysRole bean);
}
